package com.itheima.Test;

public class Test003 {
    public static void main(String[] args) {
        //请使用“同步方法”改写1.1的程序，保证运行结果的正确。
        AAATest003 m = new AAATest003();
        Thread mt = new Thread(m);
        mt.setName("窗口一");
        mt.start();
        Thread mt2 = new Thread(m);
        mt2.setName("窗口二");
        mt2.start();
        Thread mt3 = new Thread(m);
        mt3.setName("窗口三");
        mt3.start();

    }
}
